<?php include (TEMPLATEPATH . '/wpress_defaults.php'); ?>
<?php get_header(); ?>


<div class="menu_shadow_top"></div> <!-- menu top shadow -->
<div class="table_top"></div><!-- table top corners -->
<?php if (have_posts()) : ?>
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>

<!-- begin portfolio container -->
<div id="portfolio">

	<!-- begin portfolio title -->
	<div class="title_container">
		<div class="htitle">
			<h2><?php single_cat_title(); ?></h2>
		</div>
		
		<div class="back_btn">
			<a href="javascript:history.go(-1);"><?php echo get_option('back_name', $wp_back_name); ?></a>
		</div>
	</div>
	<!-- end portfolio title -->
	
	<!-- begin portfolio container -->		
	<div class="portfolio_container">
	
		<div class="archives_container">


		<?php while (have_posts()) : the_post(); ?>
 		 <div class="news_box" style="margin-bottom:15px; padding-bottom:15px; border-bottom:1px solid #CCCCCC;">
				<h4><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h4>
				<?php the_time('l, F jS, Y') ?>

				<div class="entry">
					<?php the_content() ?>
				</div>

			</div>

		<?php endwhile; ?>
	</div>
	</div>
	
	<div class="portfolio_pages">
		<div class="pages_numbers">
			<?php next_posts_link(get_option('older_entries', $wp_older)) ?> <?php previous_posts_link(get_option('newer_entries', $wp_newer)) ?>
		</div>
	</div>

	<?php else : ?>

		<h2 class="center"><?php echo get_option('result_name', $wp_result_name); ?></h2>
		<div class="search_form_page">
		<?php get_search_form(); ?>
		</div>
	</div></div>
	<?php endif; ?>
	
	
	
	
	

</div>
<!-- end portfolio container -->
<div class="table_bottom"></div><!-- table bottom corners -->
<div class="side_shadow_bottom"></div><!-- slide show bottom shadow -->


<?php get_footer(); ?>
